Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-239201 | VCPG-67-000008 | SV-239201r717053_rule | Medium |
Description |
---|
Within the database, object ownership implies full privileges to the owned object, including the privilege to assign access to the owned objects to other subjects. Database functions and procedures can be coded using definer's rights. This allows anyone who uses the object to perform the actions if they were the owner. If not properly managed, this can lead to privileged actions being taken by unauthorized individuals. VCDB is configured out of the box to be owned by the "vc" Postgres user. This configuration must be verified and maintained. |
STIG | Date |
---|---|
VMware vSphere 6.7 PostgreSQL Security Technical Implementation Guide | 2021-04-15 |
Check Text ( C-42434r678974_chk ) |
---|
At the command prompt, execute the following command: # /opt/vmware/vpostgres/current/bin/psql -d VCDB -x -U postgres -c "\dt;"|grep Owner|grep -v vc If any tables are returned, this is a finding. |
Fix Text (F-42393r678975_fix) |
---|
At the command prompt, execute the following command: # /opt/vmware/vpostgres/current/bin/psql -U postgres -c "ALTER TABLE Replace |